|
|
 |
|
|
|
|
5: MyAgent.Show
6: MyAgent.GestureAt 20, 20
7: Set MyRequest =
8: MyAgent.Speak(Please enter your first and last name in this _
box.)
9: Do Until MyRequest.status = 0
10: DoEvents
11: Loop
12: MyAgent.Hide
13:
14: End Sub |
|
|
|
|
|
|
|
|
Run the application and double-click the text box to see what happens. The end result should resemble Figure B.5. |
|
|
|
|
|
|
|
|
Figure B.5.
When you double-click the text box, the character will appear and talk to
users. |
|
|
|
|
|
|
|
|
Tip You can use Agent characters in place of message boxes to inform users of a problem. |
|
|
|
|
|
|